package com.sgb.kjwl.api.service;


import com.sgb.kjwl.model.entity.ParentAreaEntity;
import com.sgb.kjwl.model.entity.ParentAreaMeasureEntity;
import com.swgk.core.view.entity.HomeManageMenuEntity;
import com.sgb.kjwl.model.entity.home.MenuManageEntity;
import com.swgk.core.base.model.factory.BaseUrlInterceptor;
import com.swgk.core.util.PickSelectEntity;
import com.sgb.kjwl.model.entity.enterprise.AssesTypeEntiy;
import com.sgb.kjwl.model.entity.enterprise.AttentionEntity;
import com.sgb.kjwl.model.entity.enterprise.BaseServiceDeatilEntity;
import com.sgb.kjwl.model.entity.enterprise.CompanyDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.CompanyListEntity2;
import com.sgb.kjwl.model.entity.enterprise.CompanyPublishEntity;
import com.sgb.kjwl.model.entity.enterprise.CopyrightEntity;
import com.sgb.kjwl.model.entity.enterprise.CompanyListEntity;
import com.sgb.kjwl.model.entity.enterprise.CopyrightListEntity;
import com.sgb.kjwl.model.entity.enterprise.CopyrightPublishEntity;
import com.sgb.kjwl.model.entity.enterprise.DealedCasesEntity;
import com.sgb.kjwl.model.entity.enterprise.EpHotIpEntity;
import com.sgb.kjwl.model.entity.enterprise.EpQuoteEntity;
import com.sgb.kjwl.model.entity.enterprise.IpPickSelectEntity;
import com.sgb.kjwl.model.entity.enterprise.ListBean;
import com.sgb.kjwl.model.entity.enterprise.NeedDetailSignUpEntity;
import com.sgb.kjwl.model.entity.enterprise.OldAndNewTypeEntiy;
import com.sgb.kjwl.model.entity.enterprise.PatentEntity;
import com.sgb.kjwl.model.entity.enterprise.PatentListEntity;
import com.sgb.kjwl.model.entity.enterprise.PatentPublishEntity;
import com.sgb.kjwl.model.entity.enterprise.ProfessionalTeamDetailEntity2;
import com.sgb.kjwl.model.entity.enterprise.ProfessionalTeamPictureEntity;
import com.sgb.kjwl.model.entity.enterprise.PropertyDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.PropertyEntity;
import com.sgb.kjwl.model.entity.enterprise.PropertyPublishEntity;
import com.sgb.kjwl.model.entity.enterprise.PublishCompanyDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.PublishCopyrightDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.PublishPatentDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.PublishPropertyDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.PublishTradeDetailEntity;
import com.sgb.kjwl.model.entity.enterprise.QuestionEnyiy;
import com.sgb.kjwl.model.entity.enterprise.SecerTitleEntity;
import com.sgb.kjwl.model.entity.enterprise.ServiceListEntiy;
import com.sgb.kjwl.model.entity.enterprise.ServiceQuoteEntity;
import com.sgb.kjwl.model.entity.enterprise.ServiceSecondClassEntiy;
import com.swgk.core.view.entity.TalentEntity;
import com.sgb.kjwl.model.entity.enterprise.TeamChangeEntity;
import com.sgb.kjwl.model.entity.enterprise.TeamIntelligenceEntity;
import com.sgb.kjwl.model.entity.enterprise.TrademarkListEntity;
import com.sgb.kjwl.model.entity.enterprise.TrademarkPublishEntity;
import com.sgb.kjwl.model.entity.enterprise.TransactionCasesEntity;
import com.sgb.kjwl.model.entity.enterprise.TransferDataEntity;
import com.sgb.kjwl.model.entity.enterprise.TransferProcessEntity;
import com.sgb.kjwl.model.entity.enterprise.UserCenterTeamIntelligenceEntity;
import com.sgb.kjwl.model.entity.enterprise.UserServiceTeamDetailEntity;
import com.sgb.kjwl.model.entity.user.AddressEntity;
import com.swgk.core.base.model.entity.ListResponse;
import com.swgk.core.base.model.entity.BaseEntity;

import java.util.List;
import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PartMap;
import retrofit2.http.Query;

/**
 * 企业服务接口
 */
public interface EnterpriseAPI {
    /**
     * 首页专业团队列表
     *
     * @param limit
     * @return
     */
    @GET("v1/app/enterpriseServices/teamInfo/indexOffer")
    Call<BaseEntity<ListResponse<List<TeamChangeEntity>>>> teamList(@Query("page") int page, @Query("limit") int limit);

    /**
     * 首页专业报价列表
     *
     * @param limit
     * @return
     */
    @GET("v1/app/enterpriseServices/serviceClass/getServiceHallListHome")
    Call<BaseEntity<ListResponse<List<EpQuoteEntity>>>> offerList(@Query("page") int page, @Query("limit") int limit);

    /**
     * 商品
     *
     * @param limit
     * @return
     */
    @POST("v1/app/enterpriseServices/trademark/pageList")
    Call<BaseEntity<TrademarkListEntity>> trademarkList(@Body Map<String, Object> limit);

    /**
     * 版权
     *
     * @param limit
     * @return
     */
    @POST("v1/copyright/pageList")
    Call<BaseEntity<CopyrightListEntity>> copyrightList(@Body Map<String, Object> limit);

    /**
     * 专利
     *
     * @param limit
     * @return
     */
    @POST("v1/app/enterpriseServices/patent/pageList")
    Call<BaseEntity<PatentListEntity>> patentList(@Body Map<String, Object> limit);


    /**
     * 专业报价列表
     *
     * @param map
     * @return
     */
    @POST("v1/app/enterpriseServices/serviceClass/getServiceHallList")
    Call<BaseEntity<ListResponse<List<EpQuoteEntity>>>> getOfferList(@Body Map map);

    //服务详情
    @POST("v1/app/enterpriseServices/serviceClass/getserviceDetails")
    Call<BaseEntity<EpQuoteEntity>> getOfferDetail(@Query("id") long id);

    //首页-热门交易-精品商标转让
    @GET("v1/app/enterpriseServices/trademark/findRecommendList")
    Call<BaseEntity<ListResponse<List<EpHotIpEntity>>>> getTrademarkList(@Query("page") int page, @Query("limit") int limit);

    //首页-热门交易-专利转让
    @GET("v1/app/enterpriseServices/patent/findRecommendList")
    Call<BaseEntity<ListResponse<List<EpHotIpEntity>>>> getPatentList(@Query("page") int page, @Query("limit") int limit);

    //首页-热门交易-热门版权转让
    @GET("v1/app/enterpriseServices/copyright/findRecommendList")
    Call<BaseEntity<ListResponse<List<EpHotIpEntity>>>> getCopyrightList(@Query("page") int page, @Query("limit") int limit);

    //首页-热门交易-特价公司转让
    @GET("v1/app/enterpriseServices/company/findRecommendList")
    Call<BaseEntity<ListResponse<List<CompanyListEntity>>>> getCompanyList(@Query("page") int page, @Query("limit") int limit);

    //首页-热门交易-私有资产转让
    @GET("v1/copyright/index/findRecommendList")
    Call<BaseEntity<List<EpHotIpEntity>>> getPropertyList(@Query("limit") int limit);

//    //转让-商标列表查询
//    @POST("v1/app/enterpriseServices/trademark/pageList")
//    Call<BaseEntity<ListResponse<List<IntellpropEntity>>>> trademarkLists(@Body Map map);

    //获取商标类型
    @GET("v1/app/enterpriseServices/trademark/getTrademarkTypeOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getTrademarkTypeOption();

    @GET("v1/app/enterpriseServices/demandHall/getTrademarkTypeOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getTrademarkTypeOption_1();

    //获取公司价格选项
    @GET("v1/app/enterpriseServices/company/getPriceOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getCompanyPriceOption();

    //获取商标价格选项
    @GET("v1/app/enterpriseServices/trademark/getPriceOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getTrademarkPriceOption();

    //获取版权价格选项
    @GET("v1/app/enterpriseServices/copyright/getPriceOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getCopyrightPriceOption();

    //获取专利价格选项
    @GET("v1/app/enterpriseServices/patent/getPriceOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getPatentPriceOption();

    //获取组合类型
    @GET("v1/app/enterpriseServices/trademark/getTypeOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getTypeOption();

//    //获取长度选项
//    @GET("v1/app/enterpriseServices/trademark/getStrLengthOption")
//    Call<BaseEntity<List<IpPickSelectEntity>>> getStrLengthOption();

    //获取版权分类
    @GET("v1/app/enterpriseServices/copyright/getCopyrightTypeOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getCopyrightTypeOption();

    @GET("v1/app/enterpriseServices/patent/getPatentTypeOption")
    Call<BaseEntity<List<IpPickSelectEntity>>> getPatentTypeOption();

    //转让--行业分类
    @GET("v1/app/enterpriseServices/company/getAllCategory")
    Call<BaseEntity<List<IpPickSelectEntity>>> getTradeTypeOption();

    //专利-获取行业分类
    @GET("v1/app/comService/typeList")
    Call<BaseEntity<List<IpPickSelectEntity>>> queryIndustryCategry();

    //专利列表查询
    @POST("v1/app/enterpriseServices/patent/pageList")
    Call<BaseEntity<ListResponse<List<PatentEntity>>>> getPatentList(@Body Map map);

//    //转让-版权列表
//    @POST("v1/app/enterpriseServices/copyright/pageList")
//    Call<BaseEntity<ListResponse<List<CopyrightListEntity2>>>> getCopyrightQueryList(@Body Map map);


//    @GET("v1/app/enterpriseServices/trademark/queryDetail")
//    Call<BaseEntity<TrademarkEntity>> queryTrademarkDetail(@Query("id") long id);

   /* @GET("v1/app/enterpriseServices/patent/detail")
    Call<BaseEntity<PatentDetailEntity>> queryPatentDetail(@Query("id") long id);*/

    @GET("v1/app/enterpriseServices/copyright/queryDetail")
    Call<BaseEntity<CopyrightEntity>> queryCopyrightDetail(@Query("id") long id);

    //获取服务类别
    @GET("v1/app/enterpriseServices/serviceClass/getAllCategory")
    Call<BaseEntity<List<ParentAreaEntity<List<ParentAreaEntity<List<ParentAreaEntity>>>>>>> getServiceCategoryOption();

    @GET("v1/app/enterpriseServices/serviceClass/getAllCategory")
    Call<BaseEntity<List<ParentAreaMeasureEntity<List<ParentAreaMeasureEntity<List<ParentAreaMeasureEntity>>>>>>> getServiceCategoryMeasureOption();

    //服务首页获取服务类别
    @GET("v1/app/enterpriseServices/homePageConfiguation/getListInfo")
    Call<BaseEntity<List<SecerTitleEntity>>> getserviceTitleLable();

/*    //首页获取一级分类
    @GET("v1/app/enterpriseServices/homePageConfiguation/getcategoryFirstInfo")
    Call<BaseEntity<List<ServiceSecondClassEntiy>>> getserviceTitleLableForClass1();*/

    //企业服务金刚区
    @Headers({BaseUrlInterceptor.HEADERS_URL_FW, "tokenType:pc"})
    @GET("v1/app/index/findIconByCode")
    Call<BaseEntity<MenuManageEntity<List<HomeManageMenuEntity>>>> getserviceTitleLableForClass1(@Query("code") String code);

    //根据一级分类id获取二级分类
    @GET("v1/app/enterpriseServices/categoryFirstService/getServiceCategoryByOneId")
    Call<BaseEntity<List<ServiceSecondClassEntiy>>> getservicecategorySecond(@Query("serviceClass") String serviceClass);

    //获取常见问题详情
    @GET("v1/app/enterpriseServices/serviceClass/problemDetail")
    Call<BaseEntity<QuestionEnyiy>> getquestionDetail(@Query("id") String id);

    //获取常见问题列表 1表示商标 2表示版权 3表示专利 4表示资产 5表示公司 6表示服务保障
    @GET("v1/app/enterpriseServices/serviceClass/problemList")
    Call<BaseEntity<List<QuestionEnyiy>>> getquestionlistdata(@Query("correlation") String id);


    //服务推荐列表
    @POST("v1/app/enterpriseServices/serviceClass/recommendList")
    Call<BaseEntity<ListResponse<List<EpQuoteEntity>>>> getRecommendlistdata(@Query("serviceClass") String id, @Query("page") int page, @Query("limit") int limit, @Query("id") String serid);

    /**
     * 公司列表
     *
     * @param limit
     * @return
     */
    @POST("v1/app/enterpriseServices/company/pageList")
    Call<BaseEntity<ListResponse<List<CompanyListEntity2>>>> companyList(@Body Map<String, Object> limit);

    @GET("v1/app/enterpriseServices/company/detail")
    Call<BaseEntity<CompanyDetailEntity>> queryCompanyDetail(@Query("id") long id);

    //获取三级地址列表
    @GET("common/area.json")
    Call<BaseEntity<List<AddressEntity<List<AddressEntity<List<AddressEntity>>>>>>> getCityList();

    //专业团队列表  v1/app/enterpriseServices/teamInfo/pageList
    @POST("v1/app/enterpriseServices/teamInfo/pageList")
    Call<BaseEntity<ListResponse<List<TeamChangeEntity>>>> getTeamQueryList(@Body Map<String, Object> map);

    //专业团队-获取行业分类
    @GET("v1/app/enterpriseServices/teamInfo/getAllCategory")
    Call<BaseEntity<List<IpPickSelectEntity<List<IpPickSelectEntity>>>>> getTradeCategry();

    //专业团队-获取行业分类
    @GET("v1/app/enterpriseServices/teamInfo/queryDetail")
    Call<BaseEntity<ProfessionalTeamDetailEntity2>> getTeamDetail(@Query("id") long id);

    //专业团队-优秀人才列表-三条
    @GET("v1/app/enterpriseServices/teamInfo/talentPageList")
    Call<BaseEntity<ListResponse<List<TalentEntity>>>> getTalentQueryThree(@Query("teamNo") String teamNo);

    //专业团队-优秀人才列表
    @GET("v1/app/enterpriseServices/teamInfo/talentPageList")
    Call<BaseEntity<ListResponse<List<TalentEntity>>>> getTalentQueryList(@Query("teamNo") String teamNo, @Query("page") int page, @Query("limit") int limit);


    //专业团队-服务报价列表-三条
    @GET("v1/app/enterpriseServices/teamInfo/serviceOfferPageList")
    Call<BaseEntity<ListResponse<List<ServiceQuoteEntity>>>> getServiceQuoteQueryThree(@Query("teamNo") String teamNo);

    //专业团队-服务报价列表
    @GET("v1/app/enterpriseServices/teamInfo/serviceOfferPageList")
    Call<BaseEntity<ListResponse<List<ServiceQuoteEntity>>>> getServiceQuoteQueryList(@Query("teamNo") String teamNo, @Query("page") int page, @Query("limit") int limit);


    //服务详情-成交案例列表
    @GET("v1/app/enterpriseServices/serviceClass/getTransaction")
    Call<BaseEntity<ListResponse<List<DealedCasesEntity>>>> getCasesQueryList(@Query("serviceId") long serviceId, @Query("page") int page, @Query("limit") int limit);

    @GET("v1/app/enterpriseServices/assets/getAssetType")
    Call<BaseEntity<List<IpPickSelectEntity>>> queryPropertyType();

    @GET("v1/app/enterpriseServices/assets/getAssetType")
    Call<BaseEntity<List<AssesTypeEntiy>>> queryPropertyType_2();

    @POST("v1/app/enterpriseServices/assets/pageList")
    Call<BaseEntity<ListResponse<List<PropertyEntity>>>> propertyList(@Body Map<String, Object> limit);

    @GET("v1/app/enterpriseServices/patent/getTheClassificationOfPatentFields")
    Call<BaseEntity<List<IpPickSelectEntity>>> getTerritoryTypeOption();

    @GET("v1/app/enterpriseServices/assets/detail")
    Call<BaseEntity<PropertyDetailEntity>> queryPropertyDetail(@Query("id") long id);

    //专业团队-获取行业分类
    @GET("v1/app/enterpriseServices/teamInfo/getImages")
    Call<BaseEntity<ListResponse<List<ProfessionalTeamPictureEntity>>>> getPicture(@Query("teamNo") String teamNo, @Query("page") int page, @Query("limit") int limit);

    //专业团队-服务报价列表
    @GET("v1/app/enterpriseServices/teamInfo/getQualification")
    Call<BaseEntity<ListResponse<List<TeamIntelligenceEntity>>>> getQualification(@Query("teamNo") String teamNo, @Query("page") int page, @Query("limit") int limit);
//
//    @GET("v1/app/enterpriseServices/assets/getPriceOption")
//    Call<BaseEntity<List<IpPickSelectEntity>>> getPropertyPriceOption();

    @GET("v1/app/enterpriseServices/assets/getNewOrOld")
    Call<BaseEntity<List<IpPickSelectEntity>>> getPropertyNewOrOldOption();

    @GET("v1/app/enterpriseServices/assets/getNewOrOld")
    Call<BaseEntity<List<OldAndNewTypeEntiy>>> getPropertyNewOrOldOption2();

    //用户中心-基本信息
    @GET("v1/app/userCenter/teamInfo/getTeamBaseInfo")
    Call<BaseEntity<UserServiceTeamDetailEntity>> getTeamDetailUserCenter();

    //用户中心-资质列表
    @GET("v1/app/userCenter/teamInfo/teamQualificationList")
    Call<BaseEntity<ListResponse<List<UserCenterTeamIntelligenceEntity>>>> getQualificationUserCenter(@Query("page") int page, @Query("limit") int limit);

    //用户中心-服务案例
    @GET("v1/app/userCenter/teamInfo/teamPerformanceService")
    Call<BaseEntity<ListResponse<List<ServiceQuoteEntity>>>> getServiceQuoteQueryListUserCenter(@Query("page") int page, @Query("limit") int limit);

    //用户中心-优秀人才列表
    @GET("v1/app/userCenter/teamInfo/teamExcellent")
    Call<BaseEntity<ListResponse<List<TalentEntity>>>> getTalentQueryListUserCenter(@Query("page") int page, @Query("limit") int limit);

    //用户中心-团队相册
    @GET("v1/app/userCenter/teamInfo/teamAlbumService")
    Call<BaseEntity<ListResponse<List<ProfessionalTeamPictureEntity>>>> getPictureUserCenter(@Query("page") int page, @Query("limit") int limit);


    //获取价格选项
    @GET("v1/app/enterpriseServices/price/listPrice")
    Call<BaseEntity<List<IpPickSelectEntity>>> getPriceOption(@Query("priceServiceNo") int priceServiceNo);

    //获取发布的服务列表
    @POST("v1/app/serviceRelease/service/serviceHallList")
    Call<BaseEntity<ListResponse<List<EpQuoteEntity>>>> getserviceHallList(@Body Map<String, Object> map);

    //上下架
    @GET("v1/app/serviceRelease/service/enable ")
    Call<BaseEntity<EpQuoteEntity>> getserviceEnable(@Query("id") long id, @Query("status") String status);

    //服务详情
    @GET("v1/app/serviceRelease/service/serviceHallDetail")
    Call<BaseEntity<BaseServiceDeatilEntity<EpQuoteEntity>>> getServiceHallDetail(@Query("id") long id);

    //发布服务
    @POST("v1/app/serviceRelease/service/save")
    Call<BaseEntity<String>> saveService(@Body Map<String, Object> map);

    //更新服务
    @POST("v1/app/serviceRelease/service/update")
    Call<BaseEntity<BaseEntity>> updateService(@Body Map<String, Object> map);

    //删除服务
    @GET("v1/app/serviceRelease/service/del")
    Call<BaseEntity<String>> deleteService(@Query("id") long id);

    //案例列表
    @POST("v1/app/serviceRelease/service/transactionList")
    Call<BaseEntity<ListResponse<List<TransactionCasesEntity>>>> getTransactionList(@Query("serviceId") String serviceId,
                                                                                    @Query("limit") int limit, @Query("pageSize") int pageSize);

    //添加案例
    @POST("v1/app/serviceRelease/service/saveTransactionCases")
    Call<BaseEntity<TransactionCasesEntity>> saveTransactionCases(@Body Map<String, Object> map);

    //更新案例
    @POST("v1/app/serviceRelease/service/updateTransactionCases")
    Call<BaseEntity<String>> updateTransactionCases(@Body Map<String, Object> map);

    //删除案例
    @GET("v1/app/serviceRelease/service/delTransactionCases")
    Call<BaseEntity<String>> deleteTransactionCases(@Query("id") String id);

    @POST("v1/app/serviceRelease/transfer/listTrademark")
    Call<BaseEntity<ListResponse<List<TrademarkPublishEntity>>>> getMakeOverPublishTradeList(@Body Map<String, Object> page);

    @POST("v1/app/serviceRelease/transfer/listCopyright")
    Call<BaseEntity<ListResponse<List<CopyrightPublishEntity>>>> getMakeOverPublishCopyrightList(@Body Map<String, Object> page);

    @POST("v1/app/serviceRelease/transfer/listPatent")
    Call<BaseEntity<ListResponse<List<PatentPublishEntity>>>> getMakeOverPublishPatentList(@Body Map<String, Object> page);

    @POST("v1/app/serviceRelease/transfer/listAsset")
    Call<BaseEntity<ListResponse<List<PropertyPublishEntity>>>> getMakeOverPublishPropertyList(@Body Map<String, Object> page);

    @POST("v1/app/serviceRelease/transfer/listCompany")
    Call<BaseEntity<ListResponse<List<CompanyPublishEntity>>>> getMakeOverPublishCompanyList(@Body Map<String, Object> page);

    @GET("v1/app/serviceRelease/transfer/del")
    Call<BaseEntity<String>> deleteMakeoverPublish(@Query("id") String id, @Query("type") int type);

    @GET("v1/app/serviceRelease/transfer/enables")
    Call<BaseEntity<String>> changeStateMakeoverPublish(@Query("id") String id, @Query("type") int type, @Query("status") String status);

    @POST("v1/app/serviceRelease/transfer/updateAsset")
    Call<BaseEntity<String>> updateProperty(@Body Map<String, Object> map);

    @POST("v1/app/serviceRelease/transfer/savePatent")
    Call<BaseEntity> saveAndUpdatePatent(@Body Map<String, Object> map);

    @POST("v1/app/serviceRelease/transfer/saveAsset")
    Call<BaseEntity> saveProperty(@Body Map<String, Object> map);

    @POST("v1/app/serviceRelease/transfer/saveTrademark")
    Call<BaseEntity<String>> saveAndUpdateTrademark(@Body Map<String, Object> map);

    @POST("v1/app/serviceRelease/transfer/saveCopyright")
    Call<BaseEntity<String>> saveAndUpdateCopyright(@Body Map<String, Object> map);

    @POST("v1/app/serviceRelease/transfer/saveCompany")
    Call<BaseEntity<String>> saveAndUpdateCompany(@Body Map<String, Object> map);

    @GET("v1/app/serviceRelease/transfer/detail")
    Call<BaseEntity<PublishTradeDetailEntity>> getPublishDetail(@Query("id") String id, @Query("type") int type);

    @GET("v1/app/serviceRelease/transfer/detail")
    Call<BaseEntity<PublishPatentDetailEntity>> getPatentPublishDetail(@Query("id") String id, @Query("type") int type);

    @GET("v1/app/serviceRelease/transfer/detail")
    Call<BaseEntity<PublishCopyrightDetailEntity>> getCopyrightPublishDetail(@Query("id") String id, @Query("type") int type);

    @GET("v1/app/serviceRelease/transfer/detail")
    Call<BaseEntity<PublishPropertyDetailEntity>> getPropertyPublishDetail(@Query("id") String id, @Query("type") int type);

    @GET("v1/app/serviceRelease/transfer/detail")
    Call<BaseEntity<PublishCompanyDetailEntity>> getCompanyPublishDetail(@Query("id") String id, @Query("type") int type);

    @Multipart
    @POST("v1/app/common/mutiFileUpload")
    Call<BaseEntity<List<String>>> uploadPicture(@PartMap Map<String, RequestBody> files);

    @POST("v1/app/enterpriseServices/serviceClass/getServiceHallByMap")
    Call<BaseEntity<ListResponse<List<EpQuoteEntity>>>> getSearchServiceList(@Body Map<String, Object> map);

    //关注
    @POST("v1/app/enterpriseServices/serviceClass/saveAttention")
    Call<BaseEntity<String>> saveAttention(@Body Map<String, Object> map);

    //函询
    @POST("v1/app/enterpriseServices/serviceClass/saveEnquiry")
    Call<BaseEntity<String>> saveEnquiry(@Body Map<String, Object> map);

    //举报
    @POST("v1/app/enterpriseServices/serviceClass/saveReport")
    Call<BaseEntity<String>> saveReport(@Body Map<String, Object> map);

    //函询类型
    @GET("v1/app/enterpriseServices/serviceClass/enquiryTypeList")
    Call<BaseEntity<List<PickSelectEntity>>> getEnquiryTypeList(@Query("businessType") String businessType);

    //关注状态
    @POST("v1/app/enterpriseServices/serviceClass/getAttentionInfoByData")
    Call<BaseEntity<List<AttentionEntity>>> getAttentionInfoByData(@Query("userNo") String userNo, @Query("type") int type, @Query("dataId") String dataId);

    @GET("v1/app/serviceRelease/transfer/transferProcess")
    Call<BaseEntity<List<TransferProcessEntity>>> getTransferProcess(@Query("transferType") String id);

    @GET("v1/app/serviceRelease/transfer/transferData")
    Call<BaseEntity<List<TransferDataEntity>>> getTransferData(@Query("transferType") String id);

    //商标推荐列表
    @GET("v1/app/enterpriseServices/trademark/newRecommendList")
    Call<BaseEntity<List>> getMakerRecommendlist(@Query("category") String category, @Query("id") String id);

    //版权推荐列表
    @GET("v1/app/enterpriseServices/copyright/recommendList")
    Call<BaseEntity<List>> getCopyrightrRecommendlist(@Query("category") String category, @Query("id") String id);

    //专利推荐列表
    @GET("v1/app/enterpriseServices/patent/recommendList")
    Call<BaseEntity<List>> getPatentRecommendlist(@Query("category") String category, @Query("id") String id);

    //公司推荐列表
    @GET("v1/app/enterpriseServices/company/recommendList")
    Call<BaseEntity<List>> getCompanyRecommendlist(@Query("industryType") String industryType, @Query("id") String id);

    //资产推荐列表
    @GET("v1/app/enterpriseServices/assets/recommendList")
    Call<BaseEntity<List>> getPropertyRecommendlist(@Query("typeId") String typeId, @Query("id") String id);

    //需求推荐列表
    @GET("v1/app/enterpriseServices/demandHall/recommendList")
    Call<BaseEntity<List>> getNeedRecommendlist(@Query("typeId") String typeId, @Query("limit") int limit,
                                                @Query("type") String type, @Query("id") String serid);

    //服务需求推荐
    @GET("v1/app/enterpriseServices/demandHall/serviceRecommendList")
    Call<BaseEntity<List>> getServiceNeedRecommendlist(@Query("categoryFirstId") String categoryFirstId, @Query("id") String id);

    //需求推荐列表
    @GET("v1/app/enterpriseServices/demandHall/recommendList")
    Call<BaseEntity<List<ListBean>>> getServiceNeedRecommendlist_new(@Query("typeId") String typeId, @Query("limit") int limit,
                                                                     @Query("type") String type, @Query("id") String serid);

    //服务需求推荐
    @GET("v1/app/enterpriseServices/demandHall/serviceRecommendList")
    Call<BaseEntity<List<ListBean>>> getServiceNeedRecommendlist_new(@Query("categoryFirstId") String categoryFirstId, @Query("id") String id);

    //关注企业

    @POST("v1/app/comService/userFocus")
    Call<BaseEntity> userFocusCompany(@Body Map map);


    //需求报价：报价单位列表
    @GET("v1/app/enterpriseServices/demandHall/getQuotationList")
    Call<BaseEntity<ListResponse<List<NeedDetailSignUpEntity>>>> getSignUpList(@Query("id") String id, @Query("pageSize") String pagesize, @Query("limit") int limit);


    //需求报价：报价详情
    @GET("v1/app/enterpriseServices/demandHall/getQuotationDetail")
    Call<BaseEntity<NeedDetailSignUpEntity>> getSignUpDetail(@Query("id") String id);

    //需求报价：选择报价商
    @POST("v1/app/enterpriseServices/demandHall/saveQuotationOffer")
    Call<BaseEntity> saveQuotationOffer(@Body Map map);


    //需求详情：企业关注状态
    @GET("v1/app/enterpriseServices/demandHall/getQuotationList")
    Call<BaseEntity> getuserFocusCompanyType(@Query("userNo") String userNo, @Query("type") int type, @Query("dataId") String dataId);


    //服务大厅新数据
    @POST("v1/app/enterpriseServices/serviceClass/getServiceHallCompanyOrTeamList")
    Call<BaseEntity<List<ServiceListEntiy>>> getServiceHallCompanyOrTeamList(@Body Map map);


    //一级分类列表页
    @POST("v1/app/enterpriseServices/categoryFirstService/getCompanyNoOrTeamNo")
    Call<BaseEntity<List<ServiceListEntiy>>> getServicegetCompanyNoOrTeamNo(@Body Map map);

    /**
     * 企业服务 首页获取验证码
     *
     * @param telPhone
     * @return
     */
    @GET("v1/app/enterpriseServices/homePageConfiguation/getPhoneVerificationCode")
    Call<BaseEntity> getVerificationCode(@Query("telPhone") String telPhone);

    /**
     * 企业服务 快速发布
     *
     * @param map
     * @return
     */
    @POST("v1/app/enterpriseServices/homePageConfiguation/issueDemand")
    Call<BaseEntity> publishDemandFun(@Body Map map);


    //服务列表取消关注团队
    @POST("v1/app/enterpriseServices/serviceClass/attentionCompanyOrTeam")
    Call<BaseEntity> setFollowForCompanyAndTeam(@Body Map map);


//    /**
//     * 发票信息，企业 开票信息
//     */
//    @POST("v1/app/enterpriseServices/order/getInvoicingInfo")
//    Call<BaseEntity<ListResponse<List<InvoicingInfoEntity>>>> getVerificationCode_company(@Query("page") int page, @Query("limit") int lomit);

//    /**
//     * 发票信息，个人、团队信息
//     */
//    @POST("v1/app/enterpriseServices/order/findByCompanyName")
//    Call<BaseEntity<ListResponse<List<InvoicingInfoEntity>>>> getVerificationCode_team(@Query("page") int page, @Query("limit") int lomit);

//    /**
//     * 联系人列表
//     */
//    @GET("v1/app/enterpriseServices/order/orderContactList")
//    Call<BaseEntity<ListResponse<List<ContactsEntitiy>>>> getContaactList(@Query("pageSize") int pagesize, @Query("limit") int limit, @Query("publishType") int publishType, @Query("userNo") String userNo, @Query("companyNo") String companyNo, @Query("teamNo") String teamNo);

//    /**
//     * 获取默认联系人
//     */
//    @GET("v1/app/enterpriseServices/order/contactDeafut")
//    Call<BaseEntity<ContactsEntitiy>> getMoRenContancts(@Query("publishType") int publishType, @Query("userNo") String userNo, @Query("companyNo") String companyNo, @Query("teamNo") String teamNo);

//    /**
//     * 获取默认开票信息，个人团队
//     */
//    @GET("v1/app/enterpriseServices/order/getDefaultInvoiceInfoP")
//    Call<BaseEntity<InvoicingInfoEntity>> getDefaultInvoiceInfoteamandUser(@Query("no") String no);

//    /**
//     * 获取默认开票信息，企业
//     */
//    @GET("v1/app/enterpriseServices/order/getDefaultInvoiceInfoC")
//    Call<BaseEntity<InvoicingInfoEntity>> getDefaultInvoiceInfoCompany(@Query("no") String no);

//    /**
//     * 新增编辑联系人
//     */
//    @POST("v1/app/enterpriseServices/order/saveOrUpdate")
//    Call<BaseEntity> saveOrUpdate(@Body ContactsEntitiy contactsEntitiy);
//
//    /**
//     * 新增编辑联系人
//     */
//    @GET("v1/app/enterpriseServices/order/delcontact")
//    Call<BaseEntity> delcontact(@Query("id") String id);

//    /***
//     * 判断资产能否下单
//     */
//    @GET("v1/app/enterpriseServices/order/goQuotation")
//    Call<BaseEntity> getMakeOverType(@Query("orderType") int orderType,@Query("id") String id,@Query("no") String no,@Query("type") int type);

//    /**
//     * 知产创建订单
//     */
//    @POST("v1/app/enterpriseServices/order/orderAdd")
//    Call<BaseEntity> submitMakeOverOreder(@Body Map map);
}